import request from './request.js'

export function getPhoneLogin (data) {
  return request.get('/login/cellphone', {
    params: data
  })
}

export function getPhoneLoginOut () {
  return request.get('/logout')
}

export function getUserSonglist (uid) {
  return request.get('/user/playlist', {
    params: {
      uid: uid
    }
  })
}

export function getUserAnchor (uid) {
  return request.get('/user/dj', {
    params: {
      uid: uid
    }
  })
}
